package com.example.elderlycare.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.elderlycare.dao.entity.Notify;
import com.example.elderlycare.service.entity.NotifyListResponseBody;

public interface NotifyService extends IService<Notify> {
    /**
     * 查询通知公告
     *
     * @param current      当前页
     * @param pageSize     页大小
     * @param queryWrapper 查询构造器
     * @return NotifyListResponseBody
     */
    NotifyListResponseBody queryNotifies(int current, int pageSize, QueryWrapper<Notify> queryWrapper);
}
